import Layout from '@/layout'

export default [
    {
        path: '/practice/template',
        component: Layout,
        meta: {
            title: '实训模板'
        },
        children: [
            {
                path: '',
                name: 'practiceTemplate',
                component: () => import('../../views/practice/template'),
                meta: {
                    title: '实训模板',
                    breadcrumb: false,
                    sidebar: false
                }
            },
            {
                path: '/practice/template/detail',
                name: 'practiceTemplateDetail',
                component: () => import('../../views/practice/templateDetail'),
                meta: {
                    title: '实训模板详情',
                    sidebar: false,
                    activeMenu: '/practice/template'
                }
            }
        ]
    },
    {
        path: '/practice/addOnline',
        component: Layout,
        meta: {
            title: '新增线上实训'
        },
        children: [
            {
                path: '',
                name: 'practiceAddOnline',
                component: () => import('../../views/practice/addOnline'),
                meta: {
                    title: '新增线上实训',
                    breadcrumb: false,
                    sidebar: false
                }
            }
        ]
    }
]
